<core:SET width='120'>
<core:WRAP file="pub/layout.html" placeholder="Content">
<form id="CalendarForm" name="CalendarForm" method="post" action="" runat="server">

<td class="mini" width="100%" valign="top" align="left" >
  <table width="100%">
    <tr>
      <td>
		<core:include file="pub/articles/inc.topmenu.html">
	  </td>
	</tr>
	<tr>
		<td>
			<div class="lightblue">Event details: {$event_title}
            &nbsp;
            <a href="/pub.calendar.php?pathinfo=create" style="color:#fdfda7;">Add a new event</a>
            <core:comment>
            <html:link url="/create"> Add a new event </html:link>
            </core:comment>
			</div>

		</td>
	</tr>
	<tr>
		<td>
			<table width="100%" border="0" align="center" cellspacing="2" cellpadding="3">
            	<tr valign="top">
       				<td class="form_label" width="{$#width}">
      	 				<label for="title" runat="server">Event title:</label>
       				</td>
       				<td class="form_field">
                    	{$event_title}
       				</td>
     			</tr>
                <tr valign="top">
       				<td class="form_label" width="{$#width}">
      	 				<label for="title" runat="server">Event occurance:</label>
       				</td>
       				<td class="form_field">
                    	{$occurance}
       				</td>
     			</tr>
                <tr valign="top">
       				<td class="form_label" width="{$#width}">
      	 				<label for="title" runat="server">Event date:</label>
       				</td>
       				<td class="form_field">
                    	{$event_date}
       				</td>
     			</tr>
                <tr valign="top">
       				<td class="form_label" width="{$#width}">
      	 				<label for="title" runat="server">Event description:</label>
       				</td>
       				<td class="form_field">
       				<core:literal>
       				<?php
       					$ds =& $root->children['CalendarForm']->_datasource;
                    	print $ds->get('eventtext');
                    ?>
                    </core:literal>
       				</td>
     			</tr>
			</table>
			<!--<html:link url="/"> View calendar </html:link> &nbsp; -->
			<a href="?month={$month}&year={$year}"> View calendar </a>
			<!--<a href="javascript:history.go(-1);"> Go back </a>  -->
		</td>
	</tr>

</table>
</td>

</form>








